package com.yc.upload.vo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties(prefix = "upload")
@Data
public class UploadProperties {
    boolean enable;
    Map<String, String> mapping;
}
